import szlschiefdata from 'szlschiefdata'

export const { removeAll, getToken, setToken, removeToken, setUserData, getUserData, getCurrentRole, removeCurrentRole, getLoginBussinessPlatform, setCurrentRole, setRoles, getRoles, removeRoles, setLoginBussinessPlatform } = szlschiefdata.auth


/**
 * 对缓存数组的移除、设置和获取
 *
 */
// const { removeCacheData, setCacheData, getCacheData } = szlschiefdata.auth
// 如：
// const key = 'key'
// 获取
// export const getKey = () => {
//   return getCacheData(key)
// }
// 移除
// export const removeKey = () => {
//   return removeCacheData(key)
// }
// 设置
// export const setKey = (value) => {
//   return setCacheData(key, value)
// }


















